package com.emotionalEnvelope.edu.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @Description
 * @Author lqq
 * @Date 2023/05/10 13:45
 */
@Data
public class MyMsgDto implements Serializable {
    private Long id;
    private Long writerId;
    private Long acceptId;
    private String notice;
    private String tagName;
    private String tag;
    private String image;
    private String writerName;
    private String status;
    private String statusName;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date updateTime;
    private List<MyMsgAnswer> myAnswer = new ArrayList<>();
    private List<MyMsgAnswer> myWrite = new ArrayList<>();
}
